import request from '@/utils/request'
// 查询履约保函列表
export function yyzgList(query) {
  return request({
    url: '/guarantee/biddingCheck/yyzgList',
    method: 'get',
    params: query
  })
}

// 查询履约保函列表
export function yyzList(query) {
  return request({
    url: '/guarantee/biddingCheck/yyzList',
    method: 'get',
    params: query
  })
}

// 财务待确认收到钱审核列表
export function cwqList(query) {
  return request({
    url: '/guarantee/biddingCheck/cwqList',
    method: 'get',
    params: query
  })
}

// 运营待送审银行审核列表
export function yyBList(query) {
  return request({
    url: '/guarantee/biddingCheck/yyBList',
    method: 'get',
    params: query
  })
}

// 运营待送审银行提交投标保函
export function yybSave(id) {
  return request({
    url: '/guarantee/biddingCheck/yybSave/' + id,
    method: 'post'
  })
}

// 运营待出保函列表
export function yyHList(query) {
  return request({
    url: '/guarantee/biddingCheck/yyHList',
    method: 'get',
    params: query
  })
}

// 运营待出保函审核保存
export function yyHSave(data) {
  return request({
    url: '/guarantee/biddingCheck/yyHSave',
    method: 'post',
    data: data
  })
}

// 财务待确认公司收益成本审核列表
export function cwcList(query) {
  return request({
    url: '/guarantee/biddingCheck/cwcList',
    method: 'get',
    params: query
  })
}

// 财务待确认公司收益成本审核保存
export function cwcSave(data) {
  return request({
    url: '/guarantee/biddingCheck/cwcSave',
    method: 'post',
    data: data
  })
}


// 查询投标保函详细
export function getBidding(id) {
  return request({
    url: '/guarantee/bidding/' + id,
    method: 'get'
  })
}


// 审核投标保函
export function checkSave(data) {
  return request({
    url: '/guarantee/biddingCheck/checkSave',
    method: 'post',
    data: data
  })
}

// 修改投标保函
export function updateBidding(data) {
  return request({
    url: '/guarantee/biddingCheck/updateBidding',
    method: 'post',
    data: data
  })
}

